package com.cmf.myproject.dal.mybatis.model;

import com.system.core.enums.YesOrNoEnum;
import java.io.Serializable;
import java.util.Date;

public class SysMenu implements Serializable {
    /**
     * 
     * @mbggenerated
     */
    private Long menuId;

    /**
     * 
     * @mbggenerated
     */
    private Long parentId;

    /**
     * 菜单名字
     * @mbggenerated
     */
    private String menuName;

    /**
     * 菜单图标
     * @mbggenerated
     */
    private String menuIcon;

    /**
     * 菜单链接
     * @mbggenerated
     */
    private String menuUrl;

    /**
     * 是否叶子节点
     * @mbggenerated
     */
    private YesOrNoEnum leaf;

    /**
     * 
     * @mbggenerated
     */
    private Integer sort;

    /**
     * 
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sys_menu
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @mbggenerated
     */
    public Long getMenuId() {
        return menuId;
    }

    /**
     * 
     * @param menuId 
     * @mbggenerated
     */
    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    /**
     * 
     * @mbggenerated
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 
     * @param parentId 
     * @mbggenerated
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 菜单名字
     * @mbggenerated
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * 菜单名字
     * @param menuName 菜单名字
     * @mbggenerated
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    /**
     * 菜单图标
     * @mbggenerated
     */
    public String getMenuIcon() {
        return menuIcon;
    }

    /**
     * 菜单图标
     * @param menuIcon 菜单图标
     * @mbggenerated
     */
    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon == null ? null : menuIcon.trim();
    }

    /**
     * 菜单链接
     * @mbggenerated
     */
    public String getMenuUrl() {
        return menuUrl;
    }

    /**
     * 菜单链接
     * @param menuUrl 菜单链接
     * @mbggenerated
     */
    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
    }

    /**
     * 是否叶子节点
     * @mbggenerated
     */
    public YesOrNoEnum getLeaf() {
        return leaf;
    }

    /**
     * 是否叶子节点
     * @param leaf 是否叶子节点
     * @mbggenerated
     */
    public void setLeaf(YesOrNoEnum leaf) {
        this.leaf = leaf;
    }

    /**
     * 
     * @mbggenerated
     */
    public Integer getSort() {
        return sort;
    }

    /**
     * 
     * @param sort 
     * @mbggenerated
     */
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    /**
     * 
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 
     * @param createTime 
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 
     * @mbggenerated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 
     * @param updateTime 
     * @mbggenerated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_menu
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", menuId=").append(menuId);
        sb.append(", parentId=").append(parentId);
        sb.append(", menuName=").append(menuName);
        sb.append(", menuIcon=").append(menuIcon);
        sb.append(", menuUrl=").append(menuUrl);
        sb.append(", leaf=").append(leaf);
        sb.append(", sort=").append(sort);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}